package com.thinkit.bigdata.web.dao.sys;

import com.thinkit.bigdata.core.feature.orm.mybatis.Page;
import com.thinkit.bigdata.web.model.sys.SysApprovalData;
import com.thinkit.bigdata.web.model.sys.SysApprovalDataExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysApprovalDataMapper {
    int countByExample(SysApprovalDataExample example);

    int deleteByExample(SysApprovalDataExample example);

    int deleteByPrimaryKey(String datacode);

    int insert(SysApprovalData record);

    int insertSelective(SysApprovalData record);

    List<SysApprovalData> selectByExample(SysApprovalDataExample example);

    List<SysApprovalData> selectByExample(Page<SysApprovalData> page, SysApprovalDataExample example);

    SysApprovalData selectByPrimaryKey(String datacode);

    int updateByExampleSelective(@Param("record") SysApprovalData record, @Param("example") SysApprovalDataExample example);

    int updateByExample(@Param("record") SysApprovalData record, @Param("example") SysApprovalDataExample example);

    int updateByPrimaryKeySelective(SysApprovalData record);

    int updateByPrimaryKey(SysApprovalData record);
}